package view.welcomeview;

import view.Controller;
import data.archive.QuoteDatabase;
import data.archive.TipDatabase;

public class WelcomeController extends Controller<WelcomeView>{
	
	
	public WelcomeController(WelcomeView controlled){
		super(controlled);
		this.controlledview.quote.setText(QuoteDatabase.QUOTES.readString());
		this.controlledview.tip.setText(TipDatabase.TIPS.readString());
	}

	@Override
	public void finalize() {
		// TODO scrivere cosa deve fare il WelcomeController quando l'applicazione viene chiusa
		
	}

}
